<@master template="master/master-loan"  title="文章编辑"  appendCss="css.umedit">
     <div class="detailsBox">
     		<div class="openBox">
               <h3><i class="jtIco"></i>文章编辑</h3>
               <div class="detaiTab">
			    <form  name="save" id="save"  class="action-ajax-form action-ajax-form-valid"    method ='post' action='/articleRest/update' >
			                  <table width="100%" cellspacing="0" cellpadding="0" border="0">
			                       <tbody>
			                           
			                          <tr>	                              
		                                 <td width="15%" align="right" class="bg">文章标题：<font color="red">*</font></td>
		                                 <td > 
		                                      <input type="text"  id="articleTitle" value="${vo.articleTitle}" size="20" name="articleTitle"   class="action-valid-field" data-action-valid-rule="required;maxlength:30;" data-action-valid-msg-required="文章标题不能为空！"  autocomplete="off"/>
		                                	  <span class="action-field-error" for="articleTitle" style="color:red;"></span>                             	
		                                 </td>
		                                  <td width="15%" align="right" class="bg">文章链接：</td>
		                                 <td > 
		                                      <input type="text"  id="articleUrl" value="${vo.articleUrl}" size="20" name="articleUrl"     class="action-valid-field"/>                           	
		                                 </td>	        
		                                 
	                                  </tr>
	                                   <tr>	
	                                    <td width="15%" align="right" class="bg">标题(SEO)：<font color="red">*</font></td>
		                                 <td > 
		                                      <input type="text"  id="articleSeoTitle" value="${vo.articleSeoTitle}" size="20" name="articleSeoTitle"   class="action-valid-field" data-action-valid-rule="required;maxlength:30;" data-action-valid-msg-required="标题(SEO)不能为空！"  autocomplete="off"/>
		                                	  <span class="action-field-error" for="articleSeoTitle" style="color:red;"></span>                             	
		                                 </td>                                  
		                                 <td width="15%" align="right" class="bg">关键字(SEO)：<font color="red">*</font></td>
		                                 <td > 
		                                      <input type="text"  id="articleKeywords" value="${vo.articleKeywords}" size="20" name="articleKeywords"   class="action-valid-field" data-action-valid-rule="required;maxlength:30;" data-action-valid-msg-required="关键字(SEO)不能为空！"  autocomplete="off"/>
		                                	  <span class="action-field-error" for="articleKeywords" style="color:red;"></span>                             	
		                                 </td>
		                                		                                
	                                  </tr>	                            
	                                   <tr>                         
		                                  <td width="15%" align="right" class="bg">描述(SEO)：<font color="red">*</font></td>
			                                 <td> 
			                                 <textarea  name="articleDesc" style="width:240px;height:100px;"  class="action-valid-field" data-action-valid-rule="required;" data-action-valid-msg-required="描述(SEO)不能为空！">${vo.articleDesc} </textarea>
			                                   <span class="action-field-error" for="articleDesc" style="color:red;"></span>                  
			                                 </td>
			                                 <td width="15%" align="right" class="bg">所属栏目：<font color="red">*</font></td>
			                                 <td> <@select dataSouceType="ArtileItem" name="itemId" value="${vo.itemId}" class="action-valid-field" data\-action\-valid\-rule="required;" data\-action\-valid\-msg\-required="所属文章栏目不能为空！" />
			                                    <span class="action-field-error" for="itemId" style="color:red;"></span> 
			                                </td> 
		                               </tr>
		                               <tr>
		                               
		                                  <td width="15%" align="right" class="bg">是否置顶：</td>
		                                  <td> 
		                                     <@select dataSouceType="IsTop" type="radio"  name="isTop" value="${vo.isTop}"/>
		                                	                          	
		                                  </td>       
		                                 <td width="15%" align="right" class="bg">前台显示发布时间：</td>
		                                 <td> 
		                                     <@date value="${vo.frontDisplayTime}" id="frontDisplayTime" name="frontDisplayTime"  />
							                 
		                                	                          	
		                                  </td>
		                                
	                                  </tr>	
		                              <tr>                         
		                                  <td width="15%" align="right" class="bg">文章内容：<font color="red">*</font></td>
			                               <td colspan="3"> 
			                                
												<@htmlEditor name="articleContent" style="width: 100%;height:300px;" data\-upload\-url="/attachment/upload"  class="action-valid-field" data\-action\-valid\-rule="required" data\-action\-valid\-msg\-required="文章内容不能为空！" >${vo.articleContent}</@htmlEditor>
												<span class="action-field-error" for="articleContent"></span>	
			                                 </td>
		                               </tr> 		        
			 					   </tbody>
					          </table>   
					          <br/>
							  <div class="clearfix" align="center"> 
							   	 <input type="hidden" name="id" value="${vo.id}"/>
				                 <input type="submit" name="savebutton" class="btn_auto_30 btn_blue" value="保存">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				                  <a class="btn_auto_30 btn_blue ml10" href="/article/index" target="_self">返回</a>
							  </div>
							  <br/>
					      </form>
			    </div>
		   </div>  
	</div>	
<@js src="js.umedit.main;js.umedit.config;js.umedit.lang;"/> 
</@master>